package tickets.tickets;

/**
 *
 * @author Hlib_Babii
 */
public enum PassageState {
    ALLOWED,
    TICKET_EXPIRED,
    NO_TRAVELS_LEFT,
    NO_MONEY_LEFT, 
    FAKE_TICKET;
    
    public boolean passageAllowed() {
        return (this == ALLOWED);
    }
}
